x=[1,2,3,4]
print(x[2])
print(x[-1])
x[2]=777
print(x)